package com.godyao.mall.user.common.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.time.Instant;
import java.util.Date;

/**
 * @author godyao
 * @date 2022/4/1
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity
public class SysUser {
    @Id
    private Long id;

    private String userId;

    private String username;

    private String nickname;

    private Integer gender;

    private String avatar;

    private String password;

    private String mobile;

    private String email;

    private Integer status;

    private Date createTime;

    private Date updateTime;
}